
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.ClassroomDao;
import edu.tongji.jiaowu.service.ClassroomManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class ClassroomManagerImpl extends BaseManagerImpl implements ClassroomManager {
        private ClassroomDao classroomDao;

	
	public CommonBean createClassroom(){
                return classroomDao.createClassroom();		
	}
	
/*
	public CommonBean findClassrooms(String refid) {
                return classroomDao.findClassrooms(refid);
       }
*/
	public CommonBean findClassroomById(String id){
                return classroomDao.findClassroomById(id);
       }	
	public CommonBean findAllClassrooms() {
                return classroomDao.findAllClassrooms();
       }
	public void insertClassroom(CommonBean classroomBean){
               classroomDao.insertClassroom(classroomBean);
	}
	
	public ClassroomDao getClassroomDao(){
		return classroomDao;
        }	
        
        public void setClassroomDao(ClassroomDao classroomDao){
                this.classroomDao=classroomDao;	
        }        		
}

